package com.bjpowernode.app.dao;

import com.bjpowernode.app.beans.ClassRoom;
import com.bjpowernode.app.exception.MyException;

import java.util.ArrayList;

public interface ClassRoomDao {
    ArrayList<ClassRoom> getAll();
    ClassRoom get(int id);
     void add(ClassRoom classRoom) throws MyException;
     void edit(ClassRoom classRoom) throws MyException;
     void del(int id) throws MyException;
}
